package com.lechuang.goods.service;

import com.lechuang.goods.dto.GoodsCategoryListDTO;
import com.lechuang.goods.entity.GoodsCategory;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author apple
* @description 针对表【goods_category(商品分类表)】的数据库操作Service
* @createDate 2024-06-21 14:10:45
*/
public interface GoodsCategoryService extends IService<GoodsCategory> {

    List<GoodsCategory> list(GoodsCategoryListDTO goodsCategoryListDTO);

    List<GoodsCategory> getByParentId(Long id);

    List<GoodsCategory> getByIds(List<Long> categoryIdList);
}
